﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed

#pragma once
#include <stdint.h>
#include "NdbDataSchema.h"

namespace gcmp
{
    /// \brief 顶点流原语类型，用于渲染
    SERIALIZABLE_ENUM_CLASS(VertexStreamPrimitiveType)
    {
        Points           = 1,  ///< 点集
        Lines            = 2,  ///< 线段集
        LineStrip        = 3,  ///< 线段条带
        Triangles        = 5,  ///< 三角形几何
        TriangleStrip    = 6,  ///< 三角形条带
        TriangleFan      = 7,  ///< 三角形扇
    };
}
